\hypertarget{classcom_1_1engine_1_1controller_1_1Controller}{
\section{com.engine.controller.Controller Class Reference}
\label{classcom_1_1engine_1_1controller_1_1Controller}\index{com::engine::controller::Controller@{com::engine::controller::Controller}}
}
Collaboration diagram for com.engine.controller.Controller:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classcom_1_1engine_1_1controller_1_1Controller__coll__graph}
\end{center}
\end{figure}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_a941af6145b506d102b5a1d8ff3364b78}{start} ()
\item 
static void \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_a3069c97237a08ed47cf95bfd7bc2430b}{searchMaxScore} ()
\item 
static ArrayList$<$ Integer\mbox{[}$\,$\mbox{]}$>$ \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_af893c31993321b7eadf1ac7f23989b5b}{calculPossibleCells} (\hyperlink{classcom_1_1engine_1_1pattern_1_1pawn_1_1Pawn}{Pawn} pawn, Integer\mbox{[}$\,$\mbox{]} c)
\item 
static void \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_a49071f5aea51f1f94ac50cbe2eb5f003}{main} (String\mbox{[}$\,$\mbox{]} args)
\item 
static void \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_a10fbfbdb495201300a49e414c97a38f2}{setMode} (Integer \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_a60ceb517a1437865abeab55d6e47d1f2}{mode})
\item 
static Integer \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_aeff0f0d23e6a1c173e1abad0f52c9d39}{getMode} ()
\end{DoxyCompactItemize}
\subsection*{Static Private Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_ac99d88bbe0c7a8cdfccf0a6f00044628}{initialiseGrid} ()
\item 
static boolean \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_adb5220494417afcce96be771ea800b48}{initPlace} (int x, int y, \hyperlink{classcom_1_1engine_1_1pattern_1_1pawn_1_1Pawn}{Pawn} pawn, Integer playerId)
\item 
static Boolean \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_a3e7a71e85d8a1cbdd6b7fd3392b79f86}{moveMetabolite} (\hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player}{Player} player)
\item 
static Boolean \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_ae2b5d338eec76b44e1680b0c1aab47cc}{moveProtPhos} (\hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player}{Player} player)
\item 
static void \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_aca3716eb34022313881dc5160f0d51c7}{createComputerPlayer} (Integer computerFn)
\item 
static void \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_a4a1ce487073d550dfb766a9a9703d212}{createHumanPlayer} (Integer humanFn)
\item 
static void \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_a025beee12ccb119dad653eb696fb2b81}{printAllScore} ()
\end{DoxyCompactItemize}
\subsection*{Static Private Attributes}
\begin{DoxyCompactItemize}
\item 
static ArrayList$<$ \hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player}{Player} $>$ \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_a461d0ea91e693291e626b67a836fe3e4}{players} = new ArrayList$<$\hyperlink{classcom_1_1engine_1_1pattern_1_1player_1_1Player}{Player}$>$()
\item 
static \hyperlink{classcom_1_1engine_1_1view_1_1DisplayColored}{DisplayColored} \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_acef82812042b44363d51b4c971acbfea}{display} = new \hyperlink{classcom_1_1engine_1_1view_1_1DisplayColored}{DisplayColored}()
\item 
static \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid}{Grid} \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_a4783b7d0eb5e828c53afc0556c6c5627}{grid} = new \hyperlink{classcom_1_1engine_1_1pattern_1_1grid_1_1Grid}{Grid}()
\item 
static Boolean \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_ad9325ec0e22f128add5c1f150f922462}{gameContinue} = true
\item 
static Integer \hyperlink{classcom_1_1engine_1_1controller_1_1Controller_a60ceb517a1437865abeab55d6e47d1f2}{mode} = 0
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
jonathan 

fabienne 
\end{DoxyAuthor}


Definition at line 20 of file Controller.java.

\subsection{Member Function Documentation}
\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_af893c31993321b7eadf1ac7f23989b5b}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!calculPossibleCells@{calculPossibleCells}}
\index{calculPossibleCells@{calculPossibleCells}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{calculPossibleCells}]{\setlength{\rightskip}{0pt plus 5cm}static ArrayList$<$Integer\mbox{[}$\,$\mbox{]}$>$ com.engine.controller.Controller.calculPossibleCells ({\bf Pawn} {\em pawn}, \/  Integer\mbox{[}$\,$\mbox{]} {\em c})\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_af893c31993321b7eadf1ac7f23989b5b}

\begin{DoxyParams}{Parameters}
\item[{\em pawn}]\item[{\em c}]\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 634 of file Controller.java.

References com.engine.pattern.pawn.Pawn.getDown(), com.engine.pattern.pawn.Pawn.getDownLeft(), com.engine.pattern.pawn.Pawn.getDownRight(), com.engine.pattern.pawn.Pawn.getLeft(), com.engine.pattern.pawn.Pawn.getRight(), com.engine.pattern.pawn.Pawn.getUp(), com.engine.pattern.pawn.Pawn.getUpLeft(), and com.engine.pattern.pawn.Pawn.getUpRight().

Referenced by com.engine.controller.Controller.moveMetabolite(), and com.engine.controller.Controller.moveProtPhos().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=273pt]{classcom_1_1engine_1_1controller_1_1Controller_af893c31993321b7eadf1ac7f23989b5b_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_aca3716eb34022313881dc5160f0d51c7}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!createComputerPlayer@{createComputerPlayer}}
\index{createComputerPlayer@{createComputerPlayer}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{createComputerPlayer}]{\setlength{\rightskip}{0pt plus 5cm}static void com.engine.controller.Controller.createComputerPlayer (Integer {\em computerFn})\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_aca3716eb34022313881dc5160f0d51c7}

\begin{DoxyParams}{Parameters}
\item[{\em computerFn}]\end{DoxyParams}


Definition at line 541 of file Controller.java.

References com.engine.view.DisplayColored.askPlayerTeam(), com.engine.controller.Controller.display, and com.engine.controller.Controller.players.

Referenced by com.engine.controller.Controller.start().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=420pt]{classcom_1_1engine_1_1controller_1_1Controller_aca3716eb34022313881dc5160f0d51c7_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_a4a1ce487073d550dfb766a9a9703d212}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!createHumanPlayer@{createHumanPlayer}}
\index{createHumanPlayer@{createHumanPlayer}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{createHumanPlayer}]{\setlength{\rightskip}{0pt plus 5cm}static void com.engine.controller.Controller.createHumanPlayer (Integer {\em humanFn})\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_a4a1ce487073d550dfb766a9a9703d212}

\begin{DoxyParams}{Parameters}
\item[{\em humanFn}]\end{DoxyParams}


Definition at line 554 of file Controller.java.

References com.engine.view.DisplayColored.askPlayerName(), com.engine.view.DisplayColored.askPlayerTeam(), com.engine.controller.Controller.display, and com.engine.controller.Controller.players.

Referenced by com.engine.controller.Controller.start().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=415pt]{classcom_1_1engine_1_1controller_1_1Controller_a4a1ce487073d550dfb766a9a9703d212_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_aeff0f0d23e6a1c173e1abad0f52c9d39}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!getMode@{getMode}}
\index{getMode@{getMode}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{getMode}]{\setlength{\rightskip}{0pt plus 5cm}static Integer com.engine.controller.Controller.getMode ()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_aeff0f0d23e6a1c173e1abad0f52c9d39}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 720 of file Controller.java.

References com.engine.controller.Controller.mode.\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_ac99d88bbe0c7a8cdfccf0a6f00044628}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!initialiseGrid@{initialiseGrid}}
\index{initialiseGrid@{initialiseGrid}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{initialiseGrid}]{\setlength{\rightskip}{0pt plus 5cm}static void com.engine.controller.Controller.initialiseGrid ()\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_ac99d88bbe0c7a8cdfccf0a6f00044628}


Definition at line 161 of file Controller.java.

References com.engine.view.DisplayColored.askAxis(), com.engine.controller.Controller.display, com.engine.pattern.grid.Grid.getGrid(), com.engine.pattern.player.Player.getName(), com.engine.pattern.player.Player.getPlayerId(), com.engine.controller.Controller.grid, com.engine.controller.Controller.initPlace(), com.engine.controller.Controller.mode, com.engine.controller.Controller.players, and com.engine.view.DisplayColored.show().

Referenced by com.engine.controller.Controller.start().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=420pt]{classcom_1_1engine_1_1controller_1_1Controller_ac99d88bbe0c7a8cdfccf0a6f00044628_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_adb5220494417afcce96be771ea800b48}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!initPlace@{initPlace}}
\index{initPlace@{initPlace}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{initPlace}]{\setlength{\rightskip}{0pt plus 5cm}static boolean com.engine.controller.Controller.initPlace (int {\em x}, \/  int {\em y}, \/  {\bf Pawn} {\em pawn}, \/  Integer {\em playerId})\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_adb5220494417afcce96be771ea800b48}

\begin{DoxyParams}{Parameters}
\item[{\em x}]\item[{\em y}]\item[{\em pawn}]\item[{\em playerId}]\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 266 of file Controller.java.

References com.engine.pattern.grid.Grid.addPawn(), com.engine.controller.Controller.display, com.engine.pattern.grid.Grid.getPawn(), com.engine.controller.Controller.grid, com.engine.view.DisplayColored.invalidChoice(), and com.engine.pattern.pawn.Pawn.setPlayerId().

Referenced by com.engine.controller.Controller.initialiseGrid().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=354pt]{classcom_1_1engine_1_1controller_1_1Controller_adb5220494417afcce96be771ea800b48_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_a49071f5aea51f1f94ac50cbe2eb5f003}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!main@{main}}
\index{main@{main}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}static void com.engine.controller.Controller.main (String\mbox{[}$\,$\mbox{]} {\em args})\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_a49071f5aea51f1f94ac50cbe2eb5f003}

\begin{DoxyParams}{Parameters}
\item[{\em args}]\end{DoxyParams}


Definition at line 704 of file Controller.java.

References com.engine.controller.Controller.start().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=420pt]{classcom_1_1engine_1_1controller_1_1Controller_a49071f5aea51f1f94ac50cbe2eb5f003_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_a3e7a71e85d8a1cbdd6b7fd3392b79f86}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!moveMetabolite@{moveMetabolite}}
\index{moveMetabolite@{moveMetabolite}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{moveMetabolite}]{\setlength{\rightskip}{0pt plus 5cm}static Boolean com.engine.controller.Controller.moveMetabolite ({\bf Player} {\em player})\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_a3e7a71e85d8a1cbdd6b7fd3392b79f86}

\begin{DoxyParams}{Parameters}
\item[{\em player}]\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 285 of file Controller.java.

References com.engine.view.DisplayColored.askWherePawnMove(), com.engine.view.DisplayColored.askWhichPawnMove(), com.engine.controller.Controller.calculPossibleCells(), com.engine.view.DisplayColored.chooseAnAction(), com.engine.controller.Controller.display, com.engine.pattern.grid.Grid.getGrid(), com.engine.pattern.pawn.Pawn.getMoveFn(), com.engine.pattern.player.Player.getName(), com.engine.pattern.grid.Grid.getPawn(), com.engine.pattern.player.Player.getPlayerId(), com.engine.controller.Controller.grid, com.engine.view.DisplayColored.invalidChoice(), com.engine.pattern.grid.Grid.movePawn(), and com.engine.view.DisplayColored.show().

Referenced by com.engine.controller.Controller.start().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=418pt]{classcom_1_1engine_1_1controller_1_1Controller_a3e7a71e85d8a1cbdd6b7fd3392b79f86_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_ae2b5d338eec76b44e1680b0c1aab47cc}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!moveProtPhos@{moveProtPhos}}
\index{moveProtPhos@{moveProtPhos}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{moveProtPhos}]{\setlength{\rightskip}{0pt plus 5cm}static Boolean com.engine.controller.Controller.moveProtPhos ({\bf Player} {\em player})\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_ae2b5d338eec76b44e1680b0c1aab47cc}

\begin{DoxyParams}{Parameters}
\item[{\em player}]\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Definition at line 372 of file Controller.java.

References com.engine.pattern.player.Player.addPoint(), com.engine.view.DisplayColored.askWherePawnMove(), com.engine.view.DisplayColored.askWhichPawnMove(), com.engine.controller.Controller.calculPossibleCells(), com.engine.view.DisplayColored.cellEmpty(), com.engine.view.DisplayColored.chooseAnAction(), com.engine.controller.Controller.display, com.engine.pattern.grid.Grid.getGrid(), com.engine.pattern.pawn.Pawn.getMoveFn(), com.engine.pattern.player.Player.getName(), com.engine.pattern.grid.Grid.getPawn(), com.engine.pattern.pawn.Pawn.getPlayerId(), com.engine.pattern.player.Player.getPlayerId(), com.engine.pattern.player.Player.getScore(), com.engine.pattern.player.Player.getTeamNumber(), com.engine.pattern.pawn.Proteine.getTypeProt(), com.engine.controller.Controller.grid, com.engine.view.DisplayColored.invalidChoice(), com.engine.view.DisplayColored.invalidProt(), com.engine.pattern.grid.Grid.movePawn(), com.engine.view.DisplayColored.printScore(), com.engine.pattern.grid.Grid.removePawn(), com.engine.pattern.pawn.Pawn.setOwner(), com.engine.pattern.pawn.Proteine.setTypeProt(), and com.engine.view.DisplayColored.show().

Referenced by com.engine.controller.Controller.start().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=416pt]{classcom_1_1engine_1_1controller_1_1Controller_ae2b5d338eec76b44e1680b0c1aab47cc_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_a025beee12ccb119dad653eb696fb2b81}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!printAllScore@{printAllScore}}
\index{printAllScore@{printAllScore}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{printAllScore}]{\setlength{\rightskip}{0pt plus 5cm}static void com.engine.controller.Controller.printAllScore ()\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_a025beee12ccb119dad653eb696fb2b81}


Definition at line 576 of file Controller.java.

References com.engine.controller.Controller.display, com.engine.pattern.player.Player.getName(), com.engine.pattern.player.Player.getScore(), com.engine.pattern.player.Player.getTeamNumber(), com.engine.view.DisplayColored.listScore(), com.engine.controller.Controller.players, and com.engine.view.DisplayColored.printScore().

Referenced by com.engine.controller.Controller.start().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=376pt]{classcom_1_1engine_1_1controller_1_1Controller_a025beee12ccb119dad653eb696fb2b81_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_a3069c97237a08ed47cf95bfd7bc2430b}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!searchMaxScore@{searchMaxScore}}
\index{searchMaxScore@{searchMaxScore}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{searchMaxScore}]{\setlength{\rightskip}{0pt plus 5cm}static void com.engine.controller.Controller.searchMaxScore ()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_a3069c97237a08ed47cf95bfd7bc2430b}


Definition at line 591 of file Controller.java.

References com.engine.controller.Controller.display, com.engine.pattern.player.Player.getName(), com.engine.pattern.player.Player.getScore(), com.engine.pattern.player.Player.getTeamNumber(), com.engine.view.DisplayColored.listWinnerScore(), com.engine.controller.Controller.players, and com.engine.view.DisplayColored.printScore().

Referenced by com.engine.controller.Controller.start().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=387pt]{classcom_1_1engine_1_1controller_1_1Controller_a3069c97237a08ed47cf95bfd7bc2430b_cgraph}
\end{center}
\end{figure}
\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_a10fbfbdb495201300a49e414c97a38f2}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!setMode@{setMode}}
\index{setMode@{setMode}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{setMode}]{\setlength{\rightskip}{0pt plus 5cm}static void com.engine.controller.Controller.setMode (Integer {\em mode})\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_a10fbfbdb495201300a49e414c97a38f2}

\begin{DoxyParams}{Parameters}
\item[{\em mode}]\end{DoxyParams}


Definition at line 712 of file Controller.java.\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_a941af6145b506d102b5a1d8ff3364b78}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!start@{start}}
\index{start@{start}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{start}]{\setlength{\rightskip}{0pt plus 5cm}static void com.engine.controller.Controller.start ()\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_a941af6145b506d102b5a1d8ff3364b78}


Definition at line 47 of file Controller.java.

References com.engine.view.DisplayColored.askHowManyComputer(), com.engine.view.DisplayColored.askHowManyHuman(), com.engine.view.DisplayColored.askWhichMode(), com.engine.view.DisplayColored.badPlayerNb(), com.engine.controller.Controller.createComputerPlayer(), com.engine.controller.Controller.createHumanPlayer(), com.engine.controller.Controller.display, com.engine.controller.Controller.gameContinue, com.engine.pattern.grid.Grid.getGrid(), com.engine.pattern.player.Player.getScore(), com.engine.controller.Controller.grid, com.engine.controller.Controller.initialiseGrid(), com.engine.view.DisplayColored.invalidChoice(), com.engine.controller.Controller.mode, com.engine.controller.Controller.moveMetabolite(), com.engine.controller.Controller.moveProtPhos(), com.engine.view.DisplayColored.noPlayer(), com.engine.controller.Controller.players, com.engine.controller.Controller.printAllScore(), com.engine.controller.Controller.searchMaxScore(), and com.engine.view.DisplayColored.show().

Referenced by com.engine.controller.Controller.main().

Here is the call graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=420pt]{classcom_1_1engine_1_1controller_1_1Controller_a941af6145b506d102b5a1d8ff3364b78_cgraph}
\end{center}
\end{figure}


\subsection{Member Data Documentation}
\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_acef82812042b44363d51b4c971acbfea}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!display@{display}}
\index{display@{display}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{display}]{\setlength{\rightskip}{0pt plus 5cm}{\bf DisplayColored} {\bf com.engine.controller.Controller.display} = new {\bf DisplayColored}()\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_acef82812042b44363d51b4c971acbfea}


Definition at line 30 of file Controller.java.

Referenced by com.engine.controller.Controller.createComputerPlayer(), com.engine.controller.Controller.createHumanPlayer(), com.engine.controller.Controller.initialiseGrid(), com.engine.controller.Controller.initPlace(), com.engine.controller.Controller.moveMetabolite(), com.engine.controller.Controller.moveProtPhos(), com.engine.controller.Controller.printAllScore(), com.engine.controller.Controller.searchMaxScore(), and com.engine.controller.Controller.start().\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_ad9325ec0e22f128add5c1f150f922462}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!gameContinue@{gameContinue}}
\index{gameContinue@{gameContinue}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{gameContinue}]{\setlength{\rightskip}{0pt plus 5cm}Boolean {\bf com.engine.controller.Controller.gameContinue} = true\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_ad9325ec0e22f128add5c1f150f922462}


Definition at line 38 of file Controller.java.

Referenced by com.engine.controller.Controller.start().\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_a4783b7d0eb5e828c53afc0556c6c5627}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!grid@{grid}}
\index{grid@{grid}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{grid}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Grid} {\bf com.engine.controller.Controller.grid} = new {\bf Grid}()\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_a4783b7d0eb5e828c53afc0556c6c5627}


Definition at line 34 of file Controller.java.

Referenced by com.engine.controller.Controller.initialiseGrid(), com.engine.controller.Controller.initPlace(), com.engine.controller.Controller.moveMetabolite(), com.engine.controller.Controller.moveProtPhos(), and com.engine.controller.Controller.start().\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_a60ceb517a1437865abeab55d6e47d1f2}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!mode@{mode}}
\index{mode@{mode}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{mode}]{\setlength{\rightskip}{0pt plus 5cm}Integer {\bf com.engine.controller.Controller.mode} = 0\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_a60ceb517a1437865abeab55d6e47d1f2}


Definition at line 42 of file Controller.java.

Referenced by com.engine.controller.Controller.getMode(), com.engine.controller.Controller.initialiseGrid(), and com.engine.controller.Controller.start().\hypertarget{classcom_1_1engine_1_1controller_1_1Controller_a461d0ea91e693291e626b67a836fe3e4}{
\index{com::engine::controller::Controller@{com::engine::controller::Controller}!players@{players}}
\index{players@{players}!com::engine::controller::Controller@{com::engine::controller::Controller}}
\subsubsection[{players}]{\setlength{\rightskip}{0pt plus 5cm}ArrayList$<${\bf Player}$>$ {\bf com.engine.controller.Controller.players} = new ArrayList$<${\bf Player}$>$()\hspace{0.3cm}{\ttfamily  \mbox{[}static, private\mbox{]}}}}
\label{classcom_1_1engine_1_1controller_1_1Controller_a461d0ea91e693291e626b67a836fe3e4}


Definition at line 26 of file Controller.java.

Referenced by com.engine.controller.Controller.createComputerPlayer(), com.engine.controller.Controller.createHumanPlayer(), com.engine.controller.Controller.initialiseGrid(), com.engine.controller.Controller.printAllScore(), com.engine.controller.Controller.searchMaxScore(), and com.engine.controller.Controller.start().

The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
com/engine/controller/\hyperlink{Controller_8java}{Controller.java}\end{DoxyCompactItemize}
